<template>
  <div class="head-container">
    <!-- 新增 -->
    <div style="display: inline-block;margin: 0px 2px;">
      <el-button
        class="filter-item"
        size="mini"
        type="primary"
        icon="el-icon-plus"
        @click="$refs.form.dialog = true">新增</el-button>
        <eForm ref="form" :is-add="true" :dict="dict" :sup_this="sup_this"/>
    </div>
  </div>
</template>

<script>
import eForm from './form'
export default {
  components: { eForm },
  props: {
    query: {
      type: Object,
      required: true
    },
    dict: {
      type: Object,
      required: true
     },
    sup_this: {
      type: Object,
      default: null
    }
  },
  data() {
    return {
    }
  },
  methods: {

  }
}
</script>
